package com.inspur.xiaoju.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Map;

@Data
public class CreateSurveyDto {
    @NotBlank(message = "标题不能为空")
    private String title;
    private String description;
    @NotBlank(message = "工作区ID不能为空")
    private String workspaceId;
    private Map<String, Object> code;
    private String surveyType;
}